import 'babel/polyfill';
import React from 'react'
import { render } from 'react-dom'
import BrowserHistory from 'react-router/lib/BrowserHistory';
import HashHistory from 'react-router/lib/HashHistory';
import Root from './Root';
import injectTapEventPlugin from 'react-tap-event-plugin';

injectTapEventPlugin();

const history = process.env.NODE_ENV === 'production' ?
  new HashHistory() : new BrowserHistory();

render(<Root history={history} />,	document.getElementById('root'));

